package homeWork;

import java.util.ArrayList;

public class SystemTwo {
    public static void main(String[] args) {
        ArrayList<Integer> arrayList = new ArrayList<>();
        long start = System.currentTimeMillis();
        for (int i = 0; i < 10000000; i++) {
            arrayList.add(i);
        }
        long end = System.currentTimeMillis();
        System.out.println(end-start);
    }
}
